newBuilder

open fun newBuilder(keyCode: KeyCode): KeyPressed.Builder

Creates a new KeyPressed builder with the given required parameters.

Return

a new KeyPressed.Builder instance

Parameters

keyCode

the code of the key